<?php
if(!defined('inside')) die('You do not have permission to execute this file directly.');

/**
* Security class file.
*
* @author Federico Ramirez <fedekiller@gmail.com>
* @link http://code.google.com/p/akaikiwi/
* @copyright Copyright &copy; 2008-2011 Federico Ramirez
* @license http://www.opensource.org/licenses/mit-license.php MIT Licence
*/
class Security {
	public function cleanRequests() {
		foreach($_REQUEST as $key => $val) {
			$_REQUEST[$key] = stripslashes(strip_tags(htmlspecialchars($val, ENT_QUOTES)));
			$$key = stripslashes(strip_tags(htmlspecialchars($val, ENT_QUOTES)));
		}
	}
}
